package com.aizuda.boot.modules.system.entity.vo;

import com.aizuda.boot.modules.business.contract.dto.UserInfo;
import com.aizuda.boot.modules.system.entity.SysDepartment;
import com.aizuda.boot.modules.system.entity.SysUser;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author hjw
 * @description
 * @date 2025年07月12日 11:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class LoginUserVo extends UserInfo {

    @Schema(description = "拥有的租户信息列表")
    private List<TenantVo> sysTenantList;

    @Schema(description = "主部门详细信息")
    private SysDepartment mainDeptInfo;

}
